package independence.testing.hibernate;


public class HibernatePersistenceTestRunner {
	
	private SimpleEntityDao dao;
	
	public void persistNew() 
	{
		try {
			SimpleHibernateEntity value = new SimpleHibernateEntity();
			value.setFireWatch("HELLOOOO WASHINGTON!");
			value.setWhatever("WHAT EVAAAAAAAAAAAAAAAAA");
			this.dao.persist(value);
		} catch (Exception e) {
			e.printStackTrace();
		}
		System.out.println("WORKD");
	}
	
	public void setDao(SimpleEntityDao value) {
		this.dao = value;
	}
}	
